package com.mao.crowd.service.api;

import com.github.pagehelper.PageInfo;
import entity.Role;

import java.util.List;

/**
 * @author maomeng
 * @create 2021-06-01- 15:12
 */
public interface RoleService {

    PageInfo<Role> getPageInfo(Integer pageNum,Integer pageSize,String keyword);

    void saveRole(Role role);

    void updateRole(Role role);

    void removeRole(List<Integer> roleIdList);

    List<Role> getAssignedRole(Integer adminId);

    List<Role> getUnassignedRole(Integer adminId);
}
